@import '../common.less';
.@{prefix}-tabbar {
    width: 100%;
    min-height: 100rpx;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 -1rpx 6rpx rgba(0, 0, 0, 0.1);
    &.@{prefix}-tabbar-fixed {
        position: fixed;
        z-index: 99999;
        left: 0;
        bottom: 0;
        padding-bottom: constant(safe-area-inset-bottom);
        padding-bottom: env(safe-area-inset-bottom);
    }
    &::before {
        content: '';
        width: 100%;
        border-top: 1rpx solid #ccc;
        position: absolute;
        top: 0;
        left: 0;
        transform: scaleY(0.5);
        transform-origin: 0 100%;
    }
    .@{prefix}-tabbar-item {
        height: 100%;
        flex: 1;
        display: flex;
        text-align: center;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        padding: 10rpx 0;
        box-sizing: border-box;
        .@{prefix}-badge{
            position: absolute;
            right: 44rpx;
            top: 4rpx;
            &.dot {
                right: 60rpx;
                top: 10rpx;
            }
        }
        .@{prefix}-icon-box {
            position: relative;
        }
        .@{prefix}-text-scale {
            transform: scale(0.8);
            line-height: 28rpx;
            transform-origin: center 100%;
            margin-top: 10rpx;
        }
    }
}
